package com.situ.water_read.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.situ.water_read.pojo.RdVolume;
import com.baomidou.mybatisplus.extension.service.IService;
import com.situ.water_user.pojo.UsUser;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Angel
 * @since 2020-12-01
 */
public interface RdVolumeService extends IService<RdVolume> {

    int addvolume(RdVolume volume);

    List<RdVolume> queryall();

    int updatevolumeId(String[] checkval,Integer volumeID);

    int updateOrderId(UsUser user);

    List<UsUser> querybyId(QueryWrapper wrapper);

    int queryCount();

    //根据用户编号查询返回map
    public Map queryUserNo(String userNo);

    List<UsUser> selectUserbyId(Integer delId);

    void updateUserByVolume(UsUser user);

    void deletevolume(Integer delId);
}
